﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Contributor.Data_Objects
{
    public class LookupType
    {
        public int LookupTypeId { get; set; }
        public string Name { get; set; }

        public static List<LookupType> LoadLookupTypes()
        {
            string cmdStr = "SELECT LookupTypeId, Name FROM dbo_LookupType ORDER BY Name";
            return DbSupportLib.Support.QueryToList(new List<LookupType>(), AppConfig.DbConnection, System.Data.CommandType.Text, cmdStr);
        }
    }
}
